//
//  OrderModel.h
//  LogisticsFollow
//
//  Created by JustFei on 2016/12/28.
//  Copyright © 2016年 manridy. All rights reserved.
//

#import <JSONModel/JSONModel.h>

@protocol OrderResultModel;

@interface OrderResultModel : JSONModel

@property (copy, nonatomic)  NSString<Optional> *orderCode;
@property (copy, nonatomic)  NSString<Optional> *orderId;
@property (copy, nonatomic)  NSString<Optional> *customerName;
@property (copy, nonatomic)  NSString<Optional> *startCity;
@property (copy, nonatomic)  NSString<Optional> *endCity;
@property (copy, nonatomic)  NSString<Optional> *fixedDate;
@property (copy, nonatomic)  NSString<Optional> *consigneeUnit;
@property (copy, nonatomic)  NSString<Optional> *consignee;
@property (copy, nonatomic)  NSString<Optional> *telNumber;
@property (copy, nonatomic)  NSString<Optional> *deliveryAddress;
@property (copy, nonatomic)  NSString<Optional> *customerNumber;
@property (copy, nonatomic)  NSString<Optional> *deliveryNumber;
@property (copy, nonatomic)  NSString<Optional> *deliveryDate;
@property (copy, nonatomic)  NSString<Optional> *carrier;
@property (copy, nonatomic)  NSString<Optional> *carrierTel;
@property (copy, nonatomic)  NSString<Optional> *goodsMoney;
@property (copy, nonatomic)  NSString<Optional> *goodsName;
@property (copy, nonatomic)  NSString<Optional> *goodsCount;
@property (copy, nonatomic)  NSString<Optional> *goodsWeight;
@property (copy, nonatomic)  NSString<Optional> *goodsVolume;
@property (copy, nonatomic)  NSString<Optional> *comments;
@property (copy, nonatomic)  NSString<Optional> *thOpAddress;
@property (copy, nonatomic)  NSString<Optional> *thOpTime;
@property (copy, nonatomic)  NSString<Optional> *gxOpAddress;
@property (copy, nonatomic)  NSString<Optional> *gxOpTime;
@property (copy, nonatomic)  NSString<Optional> *psOpAddress;
@property (copy, nonatomic)  NSString<Optional> *psOpTime;

@property (assign, nonatomic)  int type;
@property (assign, nonatomic)  int status;

@end

@interface OrderModel :JSONModel

@property (nonatomic ,assign) BOOL isSuccess;
@property (nonatomic ,copy) NSString<Optional> *msg;
@property (nonatomic ,strong) NSArray<OrderResultModel> *result;

@end
